package com.testfileupload.uploadimg.design.intermediary.zhongjie;

public class Client {
    public static void main(String[] args) {
        AbstractMediator mediator = new Mediator();

        Purcchase purcchase = new Purcchase(mediator);

        purcchase.buyIBMComputer(1);

        Sale sale = new Sale(mediator);
        sale.sellIBMComputer(1);
        Stock stock = new Stock(mediator);
        stock.clearStock();

    }
}
